package com.maoning.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.maoning.common.utils.PageUtils;
import com.maoning.product.entity.SkuInfoEntity;
import com.maoning.product.vo.SkuItemVo;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku信息
 *
 * @author ss
 * @email 361736093@qq.com
 * @date 2021-08-19 10:06:58
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByCondition(Map<String, Object> params);

    List<SkuInfoEntity> getSkuInfosBySpuId(Long spuId);

    SkuItemVo getSkuItemVoById(Long skuId) throws ExecutionException, InterruptedException;

}

